package com.aliyun.messagemgt.dto;

import java.util.List;

/**
 *@Author Znight
 *@Date 14:18 2019/5/20
 * 消息中心MQ处理结果entity
 */
public class MsgResult {

    private Integer pushChannelType;

    private Integer pushChannelId;

    private String msgSourceId;

    private Integer PlanId;

    private List<PushResultEntity> pushResult;

    public Integer getPushChannelType() {
        return pushChannelType;
    }

    public MsgResult setPushChannelType(Integer pushChannelType) {
        this.pushChannelType = pushChannelType;
        return this;
    }

    public Integer getPushChannelId() {
        return pushChannelId;
    }

    public MsgResult setPushChannelId(Integer pushChannelId) {
        this.pushChannelId = pushChannelId;
        return this;
    }

    public String getMsgSourceId() {
        return msgSourceId;
    }

    public MsgResult setMsgSourceId(String msgSourceId) {
        this.msgSourceId = msgSourceId;
        return this;
    }

    public List<PushResultEntity> getPushResult() {
        return pushResult;
    }

    public MsgResult setPushResult(List<PushResultEntity> pushResult) {
        this.pushResult = pushResult;
        return this;
    }

    public Integer getPlanId() {
        return PlanId;
    }

    public MsgResult setPlanId(Integer planId) {
        PlanId = planId;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MsgResult{");
        sb.append("pushChannelType=").append(pushChannelType);
        sb.append(", pushChannelId=").append(pushChannelId);
        sb.append(", msgSourceId='").append(msgSourceId).append('\'');
        sb.append(", PlanId=").append(PlanId);
        sb.append(", pushResult=").append(pushResult);
        sb.append('}');
        return sb.toString();
    }
}
